package com.health.pojo;

import java.io.Serializable;

public class Product implements Serializable {
    private Integer id;
    private String name;
    private Double prict;


    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", prict=" + prict +
                '}';
    }

    public Product(Integer id, String name, Double prict) {
        this.id = id;
        this.name = name;
        this.prict = prict;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrict() {
        return prict;
    }

    public void setPrict(Double prict) {
        this.prict = prict;
    }
}
